github.com/0chain/gosdk@v1.17.11/docs/uml/move object.puml (about)

     1  @startuml
     2  participant "<size:20><&terminal></size> ./zbox move" as cli
     3  collections gosdk
     4  collections blobber
     5  
     6  cli -> gosdk: GetAllocation(allocationID)
     7  cli -> gosdk: GetFileStats(remotepath)
     8  alt not empty file stats
     9  cli -> gosdk: GetFileMeta(remotepath)
    10  end
    11  cli -> gosdk: MoveObject(remotepath, destpath)
    12  
    13  gosdk -> blobber: copy object with remotepath and destpath
    14  
    15  gosdk -> gosdk: check copy process is successful
    16  
    17  gosdk -> blobber: delete object from remotepath
    18  @enduml